﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LayuiMvcUtil.EnumUtil
{
    public class EnumDefineAttribute:Attribute
    {
        public EnumDefineAttribute()
        {

        }
        public EnumDefineAttribute(string description)
        {
            this.Description = description;
        }

        /// <summary>
        /// 枚举值
        /// </summary>
        public Int32 Value { get; set; }

        /// <summary>
        /// 枚举描述
        /// </summary>
        public string Description { get; set; }

        /// <summary>
        /// 枚举获取列表标识
        /// </summary>
        public string Identity { get; set; }
    }
}
